import prompt from "@system.prompt";
export default {
    data: {
        title: "页面维护",
    },

    showToast() {
        prompt.showToast({
            message: "Message Info",
            duration: 2000,
            buttons: [
                {
                    text: "button",
                    color: "#666666",
                },
            ],
            success: function (data) {
                console.log(
                    "dialog success callback，click button : " + data.index
                );
            },
            cancel: function () {
                console.log("dialog cancel callback");
            },
        });
    },
};
